package com.jingbian.cppccbackend.mapper.user;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingbian.cppccbackend.entity.News;
import com.jingbian.cppccbackend.entity.dto.NewsListDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 新闻表，用于存储新闻信息 Mapper 接口
 * </p>
 *
 * @author pum
 * @since 2025-03-03
 */
@Mapper
public interface NewsMapper extends BaseMapper<News> {

  List<News> getNewsList(@Param("params") NewsListDTO newsListDTO);
}
